package com.demo.es.repository;

import com.demo.es.entity.OrderHeader;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface OrderRepository extends ElasticsearchRepository<OrderHeader, Long> {

    List<OrderHeader> findByOrderSnLike(String orderSn);
}
